package com.changgou.config.dao;

import com.changgou.config.pojo.Areas;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface AreasMapper extends Mapper<Areas> {

    /**
     * 根据城市ID查询
     * @param cityid
     * @return
     */
    @Select("select * from tb_areas where cityid = #{cityid}")
    List<Areas> findById(String cityid);
}
